package br.com.werp.suporte.Acesso;
import java.util.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * Creation Date 18/12/2006 14:52:14
 * Last Modify Date 19/12/2006 10:09:59
 */

public class PesquisarPapeisActionForm extends org.apache.struts.action.ActionForm {
  public String role_usuario;
  public String role_descricao;
  public String papeis;
  private boolean valida = false;
  public PesquisarPapeisActionForm() {
  }
  /**
    * ROLE_USUARIO: Gets the value of this field.
    */
  public String getRole_usuario() {
    return role_usuario;
  }
  /**
     * ROLE_USUARIO: Sets thhe value for this field.
     */
  public void setRole_usuario(String ROLE_USUARIO) {
    role_usuario = ROLE_USUARIO;
  }
  /**
    * ROLE_DESCRICAO: Gets the value of this field.
    */
  public String getRole_descricao() {
    return role_descricao;
  }
  /**
     * ROLE_DESCRICAO: Sets thhe value for this field.
     */
  public void setRole_descricao(String ROLE_DESCRICAO) {
    role_descricao = ROLE_DESCRICAO;
  }
  /**
    * PAPEIS: Gets the value of this field.
    */
  public String getPapeis() {
    return papeis;
  }
  /**
     * PAPEIS: Sets thhe value for this field.
     */
  public void setPapeis(String PAPEIS) {
    papeis = PAPEIS;
  }
  /**
    * Reset all fields.
    */
  public void reset(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    role_usuario = null;
    role_descricao = null;
    papeis = null;
  }
  /**
    * Validate fields and return ActionErrors.
    */

  public ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    valida = false;
    if (errors != null && errors.size() > 0) {
      javax.servlet.http.HttpSession session = request.getSession(true);
      ActionForward actionForward = null;
      session.setAttribute(mapping.getName(), this);
    }
    return errors;
  }
}
